package cn.hnh.mapper;

import cn.hnh.pojo.User;
import cn.hnh.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Author HuangNianHong
 * @Time 2021/1/5
 */
@Mapper
@Repository
public interface UserMapper {
    public User getSlideBarUserById(Integer id);
    public UserVo getCommentUserVoById(Integer id);
    /**
     *
     * @param userVo
     * @return  返回的主键id
     */
    public Integer InsertCommentUser(UserVo userVo);
}
